<?php

require_once 'shuju.php';
$id = $_GET['id'];

$sql = "
delete from t_message
where id=$id       
 ";

$result = $conn->query($sql);
if($result===false){
    echo "操作失败";
}else{
    header("Location:index.php");
}
        
    
